package com.imooc.distributedemo.service;

import com.imooc.distributedemo.entity.Order;
import com.imooc.distributedemo.entity.request.AddOrderReq;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

public interface OrderService {

    public Long createOrder(AddOrderReq addOrderReq) throws Exception;

    public Long createOrderBlock(AddOrderReq addOrderReq) throws Exception;

    List<Order> findAll();
}
